<style>
    .breadcrumb > li + li:before {
        padding: 0 5px;
        color: #cccccc;
        content: "|";
    }
    .breadcrumb > li.active_page a {
        color: #5dcff3 !important;
    }
</style>
<div class="row">
    <div class="col-lg-12">
        <!-- .breadcrumb -->
        <ul class="breadcrumb">
            <li class="<?php echo $this->params['action'] == 'home' ? 'active_page': '' ;?> "><a href="<?php echo $this->Html->url('/' . $orgAccount['Organisation']['slug'] . '/contributions/home'); ?>"><i class="fa fa-home"></i> Dashboard</a></li>

            <?php foreach ($orgAccount['Organisation']['Module'] as $module) {?>

                <?php if( isset($module['ModuleMenu'][0]) ) {
                    foreach($module['ModuleMenu'] as $menu) { ?>
                        <?php if($menu['controller'] == 'contributions'){ ?>
                            <li class="<?php echo $this->params['action'] == $menu['action'] ? 'active_page': '' ;?> "><a href="<?php echo $this->Html->url('/' . $orgAccount['Organisation']['slug']. '/' . $menu['controller'] . "/" . $menu['action']); ?>"><i class="fa <?php echo $menu['icon'];?>"></i> <?php echo $menu['display_name']; ?></a></li>
                        <?php } ?>
                    <?php
                    }
                } ?>
            <?php } ?>
           <!-- <li><a href="#"><i class="fa fa-home"></i>Home</a></li>
            <li><a href="#"><i class="fa fa-list-ul"></i>Elements</a></li>
            <li class="active">Components</li>-->
        </ul>
        <!-- / .breadcrumb -->
    </div>
</div>
